<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>后台管理系统</title>
		<link rel="stylesheet" href="Web-Statics/plus/layui/css/layui.css" />
		<script type="text/javascript" src="Web-Statics/plus/layui/layui.js"></script>
		<script type="text/javascript" src="Web-Statics/js/config.js"></script>
		<script type="text/javascript">
			layui.use(['layer', 'common', 'login'], function(){
				var layer = layui.layer
					,common = layui.common
					,login	= layui.login;
					
				// 加载语言包
				common.loadLang();
	
				// 登录检测
				var auth = login.check_login();
				if(!auth){
					// 登录认证
					common.redirect('Login/login');
					return ;
				}
				// 跳转首页
				common.redirect('Index/index');
			});
		</script>
	</head>
	<body>
	</body>
</html>
